package com.wjboot.realty.gen;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.tangzc.mpe.autotable.annotation.ColumnComment;
import com.tangzc.mpe.autotable.annotation.Index;
import com.tangzc.mpe.autotable.annotation.Table;
import com.wjboot.common.base.ZeusBaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.SuperBuilder;

/**
 * @author wj
 */
@Data
@Table(value = "realty_type" ,comment = "房产类型")
@NoArgsConstructor
@ToString(callSuper = true)
@SuperBuilder(toBuilder = true)
@EqualsAndHashCode(callSuper = true)
public class RealtyType extends ZeusBaseModel<Integer> {

    @TableId(type = IdType.ASSIGN_ID)
    private Integer id;
    @ColumnComment("类型名称")
    @Index
    private String name;
    @ColumnComment("排序")
    private Integer sort;
}
